<!DOCTYPE html>
<html lang="en"  xmlns:th="https://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <link rel="stylesheet" type="text/css" th:href="@{/static/css/style.css}">
</head>
<body>
<div class="box">
    <div class="login-box">
        <form action="/login" method="post">
            <div class="login-title">登录</div>
            <div class="chart">
                <span>用户名：</span>
                <input type="text" name="username" placeholder="请输入用户名"></br>
                <span>密码：</span>
                <input type="password" name="password" placeholder="请输入密码"></br>
<!--                <input type="checkbox" name="1" value="1">7天免登录-->
                <button type="submit">提交</button>
                <a th:href="@{/sign}">创建新账户</a>
                <span th:text="${error}" class="error"></span>
            </div>
        </form>
    </div>
</div>

</body>

</html>